package com.dreamwhale.machinery.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 银行信息，贷款机构信息
 * </p>
 *
 * @author Author
 * @since 2020-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bank")
public class Bank implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标题
     */
    private String title;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 图片
     */
    private String image;

    /**
     * 利息
     */
    private String lx;

    /**
     * 商户id
     */
    private Integer merId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 删除标识(0.否1.是)
     */
    private Integer delFlag;


}
